<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglib.jsp"%>
<%@ page import="org.apache.commons.lang3.RandomStringUtils"%>
<%
	String id = RandomStringUtils.randomAlphanumeric(32);
%>
<html>
<head>
<title>用户信息</title>
</head>
<body>
	<form action="${ctx}/user/add.do"
		method="post">
		<br>
		<table>
			<tr>
				<td><input name="id" type="hidden" value="<%=id%>"> 姓名:
					<input name="name"></td>
			</tr>
			<tr>
				<td>年龄: <input name="age">
				</td>
			</tr>
			<tr>
				<td>性别: <select name="sex">
						<option value="1">男</option>
						<option value="2">女</option>
				</select>
				</td>
			</tr>
			<tr>
				<td>密码: <input name="password">
				</td>
			</tr>
			<tr>
				<td>地址:<input name="address" />
				</td>
			</tr>
			<tr>
				<td align="right"><input type="submit" value="保存" /></td>
			</tr>
		</table>
	</form>
	<br>
	<a href="${ctx}/index.jsp">返回主页</a>
	<br>
	<a href="${ctx}/user/list.do">返回显示</a>
</body>
</html>
